pp108 : onrequest Event (System)

onrequest Event (System)


This event is fired when a SOAP request is sent to the backend.

Syntax

Inline HTML

<eibus:system id="system" onrequest="handler()"...>

Event property

system.addListener("onrequest", handler)


Event Information

To invoke

N/A.

Default Action

Initiates any action associated with this event.


Event Object Properties


Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query an event object for data.

Property

Description

returnValue

Boolean that denotes one of the following values:

  • true (Default) - Request is send to the Web server.
  • false - Request is cancelled by the user.

soapTransaction

Read-only. Object that contains the SOAP transaction that is sent to the Web server.


Remarks


A call back method will be called by the system component's onrequest method before the data is sent. This will be usually caught by thebusdataislandwhich fires consequent onrequest and onresponse events based on thesoapTransactionproperty received from this event.

See Also


system, soapTransaction, onrequest